package com.dao;

import java.util.List;

import com.bean.CraftShow;
import com.bean.CraftStandardType;

public interface CraftStandardTypeDao {

	public abstract void save(CraftStandardType transientInstance);

	public abstract void delete(CraftStandardType persistentInstance);

	public abstract CraftStandardType findById(java.lang.Integer id);

	public abstract List findByExample(CraftStandardType instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByCraftStdCode(Object craftStdCode);

	public abstract List findByCraftStdName(Object craftStdName);

	public abstract List findByDescription(Object description);

	public abstract List findAll();

	public abstract CraftStandardType merge(CraftStandardType detachedInstance);

	public abstract void attachDirty(CraftStandardType instance);

	public abstract void attachClean(CraftStandardType instance);
	

	/**
	 * 查询所有工艺
	 */
	public abstract List<CraftStandardType> getFindCraftStandardType(String table,String pk,String sort,int PageNumber,int PageSize ,String options);

}